package dto

// Decision 0:unknown,1:success,2:reject
type Decision int

const (
	DecisionUnknown Decision = iota
	DecisionSuccess
	DecisionReject
)

func (d Decision) IsBizSuccess() bool {
	return d == DecisionSuccess
}

func (d Decision) IsBizReject() bool {
	return d == DecisionReject
}
